# -*- coding: utf-8 -*-
from liberHook.BaseHook import BaseHook
from liberLibs.dccLibs import Houdini


class Hook(BaseHook):
    def __init__(self, library, directory, ext, start, end):
        BaseHook.__init__(self, library, directory, ext, start, end)

    def execute(self):
        self.remove_location()
        Houdini.save_file(self.file)
